搜索资源列表
编译原理.rar
- C语言编译器的设计与实现 我们设计的编译程序涉及到编译五个阶段中的三个,即词法分析器、语法分析器和中间代码生成器。编译程序的输出结果包括词法分析后的二元式序列、变量名表、状态栈分析过程显示及四元式序列程序,整个编译程序分为三部分: (1) 词法分析部分 (2) 语法分析处理及四元式生成部分 (3) 输出显示部分
Pascal
- 《编译原理实践教程》中的程序作了一些扩展,可以将程序转化成四元式。 本人认为书上的程序极为垃圾!- \"Translation Principle Practice Course\" the center procedure has made some expansions, may transform the procedure four Yuan types. Myself think in the book procedure extremely trash!
zhou_compiler
- 我的编译原理课程设计。类PASCAL的语法,仿造PL0文法,采用递归子程序法生成中间代码-四元式。没有实现中间代码的优化。-I compiler theory of curriculum design. PASCAL syntax, copy PL0 grammar, using recursive method subroutine code generation middle-4 yuan style. Not achieved intermediate code optimization.
简单的语义分析basic
- 简单易用 易看的编译器 带词法分析和语法分析 输出是二元式和四元式 使用读取文件的方式进行编译 功能基本完整-easy to use easy to see the compiler with lexical analysis and parsing the output of which is dual-and four yuan-use read the document compiled basic functional integrity
四元组
- 逆波兰式,四元组关于编译原理的编程 不会使用的可以看看帮助文档
编译课设
- 算术表达式词法和语法分析程序,递归下降法,四元式-arithmetic expression morphology and syntax analysis procedures, recursive method, four yuan -
cp%2E
- 编译原理课程设计报告对以下文法,采用算符优先分析算法,对G[S]所定义的赋值语句进行语法分析,并在语法分析过程中将所输入的扶植语句翻译为四元式。-Course Design Compiler Principle report on the following grammar, using operator priority analysis algorithm, G [S], as defined in the assignment syntax analysis, and the syntax
diguisuanfa
- 基于递归文法的编译课设实现,生成四元式,以及判断是否为该文法-based on recursive grammar compiler Course located realized, four yuan-generation, and judge whether to grant grammar
编译
- 本程序是对编译原理的文法的定义给出的一个c语言的源代码: 文法是一个四元式设计一种数据结构表示文法 一. 实验名称:文法数据结构表示; 二. 实验目的:学习和认识文法的数据元素,并了解文法四个部分在计算机 内表示方法。 三. 实验要求: 1、 语言不限 2、可以用于后续的实验 3.两周完成,上交实验报告-this program is to build the grammar principle is the definition of a c source code language : gr
middle_code
- 编译原理中间代码生成的程序,仅仅实现了表达式到四元式的转换-Compiler theory intermediate code generation process, only to realize the expression of quaternion type of conversion
C0Compiler
- 能生成四元式和16位汇编语言的编译器,if-else,while,for,switch语句均能编译成功。代码并不完美,仅供参考-Can generate quaternary assembly language-and 16-bit compiler, if-else, while, for, switch statements can compile successfully. Code is not perfect, are for reference only
scanner(liwenkaitop)
- 这是用VC6.0开发的集词法分析、语法分析、语义分析为一体的一个程序,是我在编译原理课程设计后期和同班一贼牛的哥们儿老胡共同研究的,做编译课设的朋友们不妨下来看看。语法分析采用的是算符优先分析法,语义生成的是四元式,符号集等格式处理方面基本是遵照大连理工出版的《编译原理》一书附的Simple语言来设计的。由于是自己的课余研究,当时没什么文档和维护的概念,因此没有留下文档,事隔一年半之后我也没有再研究它的动力了,看懂了的朋友不妨写个文档传上来告诉我一声!先此谢过了!-err
ifelseyuju
- 这个是我在编译原理做的课程设计,一个编译器,包括词法语法分析,结果生成四元式序列,可执行文件也在里面:)-This is what I do in the compiler course design principle, a compiler, including the lexical grammar analysis, the results generated quaternion-type sequences, executable files are inside:)
yufayuyi(c)
- c语言实现编译原理语法语义分析程序代码,很完整,可以直接运行,语法语义分析代码,希望对大家有所帮助-c language compiler to achieve the principle of semantic analysis of program code syntax, it is complete, can be directly run, grammar semantic analysis code, I hope all of you to help
express
- 简单赋值语句翻译成四元式 (编译原理实验)-Translated into a simple assignment statements quaternion type (Compiler Principle Experiment)
Principles-of-curriculum-design
- 编译原理课程设计总结报告 1.设计题目及相关内容 本课程设计完成的是递归下降分析法。对算术表达式和赋值语句进行语义分析并生成四元式序列。其中,本设计用C语言对简单的pascal语言子集编制一个编译程序。语义分析输入的是语法分析后提供的单词串,而语法分析的输入是词法分析的程序所提供的单词序列。要求把语法分析程序和词法分析都作为子程序调用,其中输入字符串要用文件操作。 2.运行环境(软、硬件环境) 硬件环境:方正电脑,P4CPU,512M内存 软件环境:Visualc+
MyCompile
- 实现以扩充C0文法为源文法,四元式为中间代码,x86汇编代码为目标代码的编译器。-C0 to achieve to expand as the source grammar grammar, style for the intermediate quaternary code, x86 assembly code for the object code of the compiler.
ex5
- 编译原理实验五 SLR语义分析法 附加实验报告-Compile principle experiment five additional experiments SLR semantic analysis report
siyuanshi
- 编译四元式,课设要求,中间代码生成必备,编译原理课程设计-Compiled four yuan style, class set requirements, intermediate code generation necessary